//==============================================================================
define fallingleavestall
{
    set hotspot
    {
        version
        {
		    Visualparticle SFX Palm Tree Leaves Tall
        }
    }
}

//==============================================================================
define fallingleavesmedium
{
    set hotspot
    {
        version
        {
		    Visualparticle SFX Palm Tree Leaves Medium
        }
    }
}

//==============================================================================
define fallingleavesmediumyellow
{
    set hotspot
    {
        version
        {
		    Visualparticle SFX Palm Tree Leaves Medium Yellow
        }
    }
}

//==============================================================================
define fallingleavessmallyellow
{
    set hotspot
    {
        version
        {
		    Visualparticle SFX Palm Tree Leaves Small Yellow
        }
    }
}

//==============================================================================
anim Idle
{
	SetSelector
	{
		VariationLogic
		set hotspot
		{
			version //TALL PALM
			{
				Visual World E Palm A
				//connect hotspot fallingleavestall hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual World E Palm B
			}
		}
		set hotspot //MEDIUM PALM BANANA
		{
			version
			{
				Visual World E Palm C
			    //connect hotspot fallingleavesmediumyellow hotspot
			}
		}
		set hotspot //MEDIUM PALM
		{
			version
			{
				Visual World E Palm D
				//connect hotspot fallingleavesmedium hotspot
			}
		}
		set hotspot //SMALL PALM
		{
			version
			{
				Visual World E Palm E
				//connect hotspot fallingleavessmallyellow hotspot
			}
		}
	}
}

//==============================================================================
anim Death
{
	SetSelector
	{
		VariationLogic
		set hotspot
		{
			version
			{
				Visual World E Palm A_Falling
                tag SpecificSoundSet 0.55 false TreeFalling checkVisible 
			}
		}
		set hotspot
		{
			version
			{
				Visual World E Palm B_Falling
                tag SpecificSoundSet 0.33 false TreeFalling checkVisible 
			}
		}
		set hotspot
		{
			version
			{
				Visual World E Palm C_Falling
                tag SpecificSoundSet 0.34 false TreeFalling checkVisible 
			}
		}
		set hotspot
		{
			version
			{
				Visual World E Palm D_Falling
                tag SpecificSoundSet 0.40 false TreeFalling checkVisible 
			}
		}
		set hotspot
		{
			version
			{
				Visual World E Palm E_Falling
                tag SpecificSoundSet 0.17 false TreeFalling checkVisible 
			}
		}
	}
}

//==============================================================================
anim Flail
{
    SetSelector 
    {
        VariationLogic
        set hotspot
        {
            version
            {
                Visual World E Palm A_flail
	 	 	 	connect ATTACHPOINT Roots HOTSPOT
            }
        }
        set hotspot
        {
            version
            {
                 Visual World E Palm B_flail
	 	 	 	connect ATTACHPOINT Roots HOTSPOT
            }
        }
        set hotspot
        {
            version
            {
                 Visual World E Palm C_flail
	 	 	 	connect ATTACHPOINT Roots HOTSPOT
            }
        }
        set hotspot
        {
            version
            {
                 Visual World E Palm D_flail
	 	 	 	connect ATTACHPOINT Roots HOTSPOT
            }
        }
        set hotspot
        {
            version
            {
                 Visual World E Palm E_flail
	 	 	 	connect ATTACHPOINT Roots HOTSPOT
            }
        }
    }
}